//创建reducer
//redux-immutable里的combineReducers跟redux的作用一样但是他会形成一个被immutablejs所管理的对象或者数组
import { combineReducers } from 'redux-immutable'//不可变性

// as是重名名
import { reducer as recommendReducer } from '../pages/discover/children-pages/recommend/store'
import { reducer as palyerReducer } from '../components/player/store'
import { reducer as loginReducer } from '../components/login/store'
//合并reducer //公共状态池并被immutableJS管理
const cReducer = combineReducers({
    recommend : recommendReducer,
       player : palyerReducer,
       login :  loginReducer
})
export default cReducer